<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数学训练基地</title>
    <!--<link href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" rel="stylesheet">-->
    <link href="/static/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Cookie">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
    <link rel="stylesheet" href="/static/css/common.css">
    <link rel="stylesheet" href="/static/css/basic.css">
    <link rel="stylesheet" href="/static/css/index-header.css">
    <link rel="stylesheet" href="/static/css/simple-footer.css">
    <link rel="shortcut icon" href="/static/img/logo.png" type="image/x-icon">
</head>

<body>
{{template "index-header.html" .}}
<div id="Content-Body" class="container">
    <div class="row">
        <div class="col-sm-3 hidden-xs">
            <div id="accroding2" class="panel-group">
                <div class="panel-heading">
                    <h3 class="text-center text-muted">数学</h3>
                </div>
                <!-- 基础知识版块 -->
                <div class="panel panel-success">
                    <div class="panel-heading" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne"><a
                                href="javascript:void(0);">基础知识</a></div>
                    <div id="collapseOne" class="panel-collapse collapse">
                        <div class="panel-body">
                            <ul class="nav nav-pills nav-stacked nav-tabs" role="tablist">

                            </ul>
                        </div>
                    </div>
                </div>
                <!-- 在线练习版块 -->
                <div class="panel panel-success">
                    <div class="panel-heading" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo"><a
                                href="#">在线练习</a></div>
                    <div id="collapseTwo" class="panel-collapse collapse">
                        <div class="panel-body">
                            <ul class="nav nav-pills nav-stacked">
                                <li role="presentation"><a href="#Select" aria-controls="Select" role="tab"
                                                           data-toggle="tab" role-tab="training">选择题</a></li>
                                <li role="presentation"><a href="#Blank" aria-controls="Blank" role="tab"
                                                           data-toggle="tab" role-tab="training">非选择题</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <!-- 专项练习版块 -->
                <div class="panel panel-success">
                    <div class="panel-heading" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree"><a
                                href="#">专项练习</a></div>
                    <div id="collapseThree" class="panel-collapse collapse">
                        <div class="panel-body">
                            <ul class="nav nav-pills nav-stacked">

                            </ul>
                        </div>
                    </div>
                </div>
                <!-- 上传试题版块-->
                {{if .isExist}}
                    <div class="panel panel-success">
                        <div class="panel-heading" data-toggle="collapse" data-parent="#accordion2" href="#collapse4"><a
                                    href="#">上传试题</a></div>
                        <div id="collapse4" class="panel-collapse collapse">
                            <div class="panel-body">
                                <ul class="nav nav-pills nav-stacked">
                                    <li role="presentation"><a href="#UploadSelect" aria-controls="SpecialPractice"
                                                               role="tab"
                                                               data-toggle="tab" role-tab="upload">选择题</a></li>
                                    <li role="presentation"><a href="#UploadBlank" aria-controls="SpecialPractice"
                                                               role="tab"
                                                               data-toggle="tab" role-tab="upload">非选择题</a></li>

                                </ul>
                            </div>
                        </div>
                    </div>
                    {{if eq .user.Role 2}}
                        <!-- 审核版块 -->
                        <div class="panel panel-success">
                            <div class="panel-heading" data-toggle="collapse" data-parent="#accordion2"
                                 href="#collapse5"><a
                                        href="#">审核</a></div>
                            <div id="collapse5" class="panel-collapse collapse">
                                <div class="panel-body">
                                    <ul class="nav nav-pills nav-stacked">
                                        <li role="presentation"><a href="#QuestionReview" aria-controls="QuestionReview"
                                                                   role="tab"
                                                                   data-toggle="tab" role-tab="review">试题审核</a></li>
                                        <li role="presentation"><a href="#KnowledgeReview"
                                                                   aria-controls="KnowledgeReview"
                                                                   role="tab"
                                                                   data-toggle="tab" role-tab="review">基础知识审核</a></li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    {{end}}
                {{end}}
            </div>
        </div>
        <div class="col-sm-9 tab-content">
            <div id="Basic">
                <div id="jihe" class="tab-pane fade in active" role="tabpanel">

                </div>
                <div id="sjhs" class="tab-pane fade" role="tabpanel">

                </div>
            </div>
            <div id="Training">
                <div id="Select" class="tab-pane fade" role="tabpanel">

                </div>
                <div id="Blank" class="tab-pane fade" role="tabpanel">
                </div>
            </div>
            <div id="SpecialPractice">

            </div>
            {{template "index-upload.html"}}
            <div id="Review">
                <div id="QuestionReview">

                </div>
                <div id="KnowledgeReview" class="hidden row">

                    <table class="table table-hover">
                        <caption><h1 class="text-muted text-center">新增基础知识审核</h1></caption>
                        <thead>
                        <tr>
                            <td>No.</td>
                            <td>分类</td>
                            <td>概念</td>
                            <td>知识点精讲</td>
                            <td>相关公式</td>
                            <td>考点</td>
                            <td>重难点</td>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td>1</td>
                            <td>集合</td>
                            <td>
                                <a tabindex="0" class="btn btn-default" role="button" data-toggle="popover"
                                   data-trigger="focus" title="可执行操作"
                                   data-template="<div class='popover' role='tooltip'>
                       <div class='arrow'></div>
                       <h3 class='popover-title'></h3>
                       <div>
                       <a class='btn btn-success'>通过</a>
                       <a class='btn btn-warning'>修改</a>
                       </div>
                       </div>">集合的概念</a>
                            </td>
                            <td>
                                <a tabindex="0" class="btn btn-default" role="button" data-toggle="popover"
                                   data-trigger="focus" title="可执行操作"
                                   data-template="<div class='popover' role='tooltip'>
                       <div class='arrow'></div>
                       <h3 class='popover-title'></h3>
                       <div>
                       <a class='btn btn-success'>通过</a>
                       <a class='btn btn-warning'>修改</a>
                       </div>
                       </div>">集合知识点1</a>

                            </td>
                            <td>
                                <a tabindex="0" class="btn btn-default" role="button" data-toggle="popover"
                                   data-trigger="focus" title="可执行操作"
                                   data-template="<div class='popover' role='tooltip'>
                       <div class='arrow'></div>
                       <h3 class='popover-title'></h3>
                       <div>
                       <a class='btn btn-success'>通过</a>
                       <a class='btn btn-warning'>修改</a>
                       </div>
                       </div>">集合相关公式1</a>
                            </td>
                            <td>
                                <a tabindex="0" class="btn btn-default" role="button" data-toggle="popover"
                                   data-trigger="focus" title="可执行操作"
                                   data-template="<div class='popover' role='tooltip'>
                       <div class='arrow'></div>
                       <h3 class='popover-title'></h3>
                       <div>
                       <a class='btn btn-success'>通过</a>
                       <a class='btn btn-warning'>修改</a>
                       </div>
                       </div>">集合考点1</a>
                            </td>
                            <td>
                                <a tabindex="0" class="btn btn-default" role="button" data-toggle="popover"
                                   data-trigger="focus" title="可执行操作" data-placement="top"
                                   data-template="<div class='popover' role='tooltip'>
                       <div class='arrow'></div>
                       <h3 class='popover-title'></h3>
                       <div>
                       <a class='btn btn-success'>通过</a>
                       <a class='btn btn-warning'>修改</a>
                       </div>
                       </div>">集合重难点1</a>
                            </td>
                        </tr>
                        </tbody>
                    </table>

                </div>
            </div>
        </div>
    </div>
</div>
{{template "index-footer.html" .}}
{{if .isExist}}
    {{template "user/changePassword.html"}}
{{else}}
    {{template "login.html"}}
{{end}}
</body>
<!--
data-template="<div class='popover' role='tooltip'>
                       <div class='arrow'></div>
                       <h3 class='popover-title'>可执行操作</h3>
                       <div>
                       <a class='btn btn-success'>通过</a>
                       <a class='btn btn-warning'>修改</a>
                       </div>
                       </div>"-->

</html>